module.exports = {
  // 注册模块
  registerUserRequest: {
    userName: {
      type: 'string',
      required: true,
      description: '用户名',
      example: '张三',
    },
    password: {
      type: 'string',
      required: true,
      description: '密码',
      example: '123456',
    },
    target: {
      type: 'string',
      required: true,
      description: '目标',
      example: '重庆',
    },
    targetCity: {
      type: 'string',
      required: true,
      description: '目标城市',
      example: '重庆市',
    },
    maxMoney: {
      type: 'string',
      required: true,
      description: '最大金额',
      example: '1000',
    },
    stayDate: {
      type: 'string',
      required: true,
      description: '入住时间',
      example: '2022-09-02',
    },
    sex: { type: 'number', required: true, description: '性别', example: 1 },
    birthDate: {
      type: 'string',
      required: true,
      description: '出生日期',
      example: '1999-05-06',
    },
    phone: {
      type: 'string',
      required: true,
      description: '手机号',
      example: '18823342134',
    },
    email: {
      type: 'string',
      required: true,
      description: '邮箱',
      example: '18223673150@163.com',
    },
    occupation: {
      type: 'string',
      required: true,
      description: '职业',
      example: '程序员',
    },
    workPlace: {
      type: 'string',
      required: true,
      description: '工作地点',
      example: '重庆市',
    },
    profile: {
      type: 'string',
      required: true,
      description: '个人简介',
      example: 'i love you',
    },
    photo: {
      type: 'string',
      required: false,
      description: '照片',
      example: '19283842,1123213',
    },
  },
  // 登录模块
  loginUserRequest: {
    email: {
      type: 'string',
      required: true,
      description: '邮箱',
      example: '18223673150@163.com',
    },
    password: {
      type: 'string',
      required: true,
      description: '密码',
      example: '123456',
    },
  },
  // 查询模块
  queryUserRequest: {
    email: {
      type: 'string',
      required: true,
      description: '邮箱',
      example: '18223673150@163.com',
    },
  },
  // 修改密码模块
  pwdUserRequest: {
    email: {
      type: 'string',
      required: true,
      description: '邮箱',
      example: '1723@qq.com',
    },
    password: {
      type: 'string',
      required: true,
      description: '新密码',
      example: 'xxxxxx',
    },
    authCode: {
      type: 'string',
      required: true,
      description: '验证码',
      example: '323453',
    },
  },
  // 用户分页模块
  pageUserRequest:{
    pageSize:{
      type: 'number',
      required: true,
      description: '分页数量',
      example: 10,
    },
    pageNum:{
      type: 'number',
      required: true,
      description: '页码',
      example: 1,
    },
  },
  // 用户信息模块
  infoUserRequest:{
    userId:{
      type: 'number',
      required: true,
      description: '用户ID',
      example: '10203134',
    },
  },
  // 修改用户模块
  editUserRequest:{
    userId:{
      type: 'number',
      required: true,
      description: '用户ID',
      example: '10203134',
    },
    userName: {
      type: 'string',
      required: true,
      description: '用户名',
      example: '张三',
    },
    password: {
      type: 'string',
      required: true,
      description: '密码',
      example: '123456',
    },
    target: {
      type: 'string',
      required: true,
      description: '目标',
      example: '重庆',
    },
    targetCity: {
      type: 'string',
      required: true,
      description: '目标城市',
      example: '重庆市',
    },
    maxMoney: {
      type: 'string',
      required: true,
      description: '最大金额',
      example: '1000',
    },
    stayDate: {
      type: 'string',
      required: true,
      description: '入住时间',
      example: '2022-09-02',
    },
    sex: { type: 'number', required: true, description: '性别', example: 1 },
    birthDate: {
      type: 'string',
      required: true,
      description: '出生日期',
      example: '1999-05-06',
    },
    phone: {
      type: 'string',
      required: true,
      description: '手机号',
      example: '18823342134',
    },
    email: {
      type: 'string',
      required: true,
      description: '邮箱',
      example: '18223673150@163.com',
    },
    occupation: {
      type: 'string',
      required: true,
      description: '职业',
      example: '程序员',
    },
    workPlace: {
      type: 'string',
      required: true,
      description: '工作地点',
      example: '重庆市',
    },
    profile: {
      type: 'string',
      required: true,
      description: '个人简介',
      example: 'i love you',
    },
    photo: {
      type: 'string',
      required: false,
      description: '照片',
      example: '19283842,1123213',
    },
  },
  // 删除用户模块
  delUserRequest:{
    userId:{
      type: 'number',
      required: true,
      description: '用户ID',
      example: '10203134',
    },
  }
};
